package com.zy.datareceiver.binsess.monitoring.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "monitoring_group")
public class MonitoringType {
    /**
     * 监测类型id
     */
    @Id
    private Integer id;

    /**
     * 监测类型名称
     */
    @Column(name = "group_name")
    private String groupName;

    /**
     * 获取监测类型id
     *
     * @return id - 监测类型id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置监测类型id
     *
     * @param id 监测类型id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取监测类型名称
     *
     * @return type_name - 监测类型名称
     */
    public String getTypeName() {
        return groupName;
    }

    /**
     * 设置监测类型名称
     *
     * @param groupName 监测类型名称
     */
    public void setTypeName(String groupName) {
        this.groupName = groupName;
    }
}